package com.houtai.bean.dto.company;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@ApiModel(value="招聘处公司信息数据修改所需参数", description="招聘处公司信息数据修改所需参数")
public class TdCompanyJobUpdateDto {

    @NotEmpty(message = "企业简介不能为空")
    @Length(max = 200, message = "企业简介最多200个字符")
    @ApiModelProperty(value="企业简介", name="company_intro", example = "发罚款老封建的；案发酵；非的看法；家发快递撒酒疯；萨克发的")
    private String company_intro;

    @NotNull(message = "省id不能为空")
    @ApiModelProperty(value="省id", name="province_id", example = "200")
    private int province_id;

    @NotNull(message = "市id不能为空")
    @ApiModelProperty(value="市id", name="city_id", example = "201")
    private int city_id;

    @NotNull(message = "区id不能为空")
    @ApiModelProperty(value="区id", name="county_id", example = "235")
    private int county_id;

    @NotEmpty(message = "公司地址不能为空")
    @Length(max = 100, message = "公司地址最多100个字符")
    @ApiModelProperty(value="公司地址", name="contact_address", example = "王府井")
    private String contact_address;

    @NotNull(message = "所属行业id不能为空")
    @ApiModelProperty(value="所属行业id", name="industry_id", example = "35")
    private int industry_id;

    @NotNull(message = "企业规模id不能为空")
    @ApiModelProperty(value="企业规模id", name="industry_id", example = "47")
    private int company_people_id;

    @NotNull(message = "企业发展id不能为空")
    @ApiModelProperty(value="企业发展id", name="financing_scale_id", example = "57")
    private int financing_scale_id;


    public String getCompany_intro() {
        return company_intro;
    }

    public void setCompany_intro(String company_intro) {
        this.company_intro = company_intro;
    }

    public int getProvince_id() {
        return province_id;
    }

    public void setProvince_id(int province_id) {
        this.province_id = province_id;
    }

    public int getCity_id() {
        return city_id;
    }

    public void setCity_id(int city_id) {
        this.city_id = city_id;
    }

    public int getCounty_id() {
        return county_id;
    }

    public void setCounty_id(int county_id) {
        this.county_id = county_id;
    }

    public String getContact_address() {
        return contact_address;
    }

    public void setContact_address(String contact_address) {
        this.contact_address = contact_address;
    }

    public int getIndustry_id() {
        return industry_id;
    }

    public void setIndustry_id(int industry_id) {
        this.industry_id = industry_id;
    }

    public int getCompany_people_id() {
        return company_people_id;
    }

    public void setCompany_people_id(int company_people_id) {
        this.company_people_id = company_people_id;
    }

    public int getFinancing_scale_id() {
        return financing_scale_id;
    }

    public void setFinancing_scale_id(int financing_scale_id) {
        this.financing_scale_id = financing_scale_id;
    }
}
